/**
 * Created by 13576 on 2018/1/3.
 */
import config from 'config'
import httpFetch from 'share/httpFetch'

export default {
  postSaveRemind(params){
    return httpFetch.post(`${config.baseUrl}/api/approval/remind`,params)
  },
  getRemindList(params){
    return httpFetch.get(`${config.baseUrl}/api/approval/remind`,params)
  },
  putSaveRemind(params){
    return httpFetch.put(`${config.baseUrl}/api/approval/remind`,params)
  },
  deleteRemind(params){
    return httpFetch.delete(`${config.baseUrl}/api/approval/remind`,params)
  },
  getNotificationRules(params){
    return httpFetch.get(`${config.baseUrl}/api/remind/regulation/list`,params)
  },
  getNotificationRulesMethods(params){
    return httpFetch.get(`${config.baseUrl}/api/custom/enumerations/template/by/type?type=1014`)
  },
}
